﻿package com.potocrewz.utils 
{
	import flash.net.navigateToURL;
	import flash.net.URLRequest;
	
	/**
	 * ...
	 * @author Adrien Lamotte
	 */
	public class GotoUrl 
	{
		
		public static function blank(txt:String):void {
			navigateToURL(new URLRequest(txt),"_blank");
		}
		
		public static function self(txt:String):void {
			navigateToURL(new URLRequest(txt),"_self");
		}
		
	}
	
}